export { }
let app = getApp<IAppOption>()
Page({
  data: {
    phone: '',
    mobileQueryInfo: {
      areacode: "",
      city: "",
      company: "",
      province: "",
      zip: "",
      phone:''
    }
  },
  inputChange(e: any) {
    this.setData({
      phone: e.detail.value
    })
  },
  searchHandle() {
    app.$request('mobile', {
      phone: this.data.phone
    }).then((res: any) => {
      res.phone=this.data.phone
      this.setData({
        mobileQueryInfo:res
      })
    })
  }
})

